export const getAllFeedback = () => {
  setTimeout(() => {
    console.log('获取反馈成功')
  }, 1000)
}

/**
 * 用户登录API
 */
export const login = () => {
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve({
        code: 200,
        data: {
          token: 'token'
        }
      })
    }, 1000)
  })
}

/**
 * 用户注册API
 */
export const register = () => {
  setTimeout(() => {
    console.log('注册成功')
  }, 1000)
}

export const addFeedback = () => {
  setTimeout(() => {
    console.log('反馈成功')
  }, 1000)
}
